package com.shop.shoporder.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;

/**
 * 首页商品数据
 */
public class IndexGoods implements Serializable {


    private int id;

    private String name;

    private String title;

    private String ipic;

    private String nameDesc;

    private String pic;

    private int specId;

    private String specpIc;

    private Double specShare;

    private Double consumption;

    private Double price;

    private Double vouchers;//代金券

    private Double owner;//自用价

    private String packSpec;

    @JsonIgnore
    private Double owner1;
    @JsonIgnore
    private Double owner2;
    @JsonIgnore
    private Double owner3;
    @JsonIgnore
    private Double owner4;
    @JsonIgnore
    private Double owner5;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer attr1;

    public Double getOwner1() {
        return owner1;
    }

    public void setOwner1(Double owner1) {
        this.owner1 = owner1;
    }

    public Double getOwner2() {
        return owner2;
    }

    public void setOwner2(Double owner2) {
        this.owner2 = owner2;
    }

    public Double getOwner3() {
        return owner3;
    }

    public void setOwner3(Double owner3) {
        this.owner3 = owner3;
    }

    public Double getOwner4() {
        return owner4;
    }

    public void setOwner4(Double owner4) {
        this.owner4 = owner4;
    }

    public Double getOwner5() {
        return owner5;
    }

    public void setOwner5(Double owner5) {
        this.owner5 = owner5;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIpic() {
        return ipic;
    }

    public void setIpic(String ipic) {
        this.ipic = ipic;
    }

    public String getNameDesc() {
        return nameDesc;
    }

    public void setNameDesc(String nameDesc) {
        this.nameDesc = nameDesc;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public int getSpecId() {
        return specId;
    }

    public void setSpecId(int specId) {
        this.specId = specId;
    }

    public String getSpecpIc() {
        return specpIc;
    }

    public void setSpecpIc(String specpIc) {
        this.specpIc = specpIc;
    }

    public Double getSpecShare() {
        return specShare;
    }

    public void setSpecShare(Double specShare) {
        this.specShare = specShare;
    }

    public Double getConsumption() {
        return consumption;
    }

    public void setConsumption(Double consumption) {
        this.consumption = consumption;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getVouchers() {
        return vouchers;
    }

    public void setVouchers(Double vouchers) {
        this.vouchers = vouchers;
    }

    public Double getOwner() {
        return owner;
    }

    public void setOwner(Double owner) {
        this.owner = owner;
    }

    public String getPackSpec() { return packSpec; }

    public void setPackSpec(String packSpec) { this.packSpec = packSpec; }

    public Integer getAttr1() {
        return attr1;
    }

    public void setAttr1(Integer attr1) {
        this.attr1 = attr1;
    }
}